package com.gk.panda.apis.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gk.panda.commons.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("日志查询实体")
public class OperationLogDto extends BaseDto {

    @ApiModelProperty(value = "模糊查询条件")
    private String searchParam;

    @ApiModelProperty(value = "起始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty(value = "终止时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

}
